package net.gd.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import net.gd.domain.roleDetail;
import net.gd.domain.roleDetailExample;
import net.gd.domain.topicDetail;
import net.gd.domain.topicDetailExample;

public interface roleDetailMapper {
    int countByExample(roleDetailExample example);

    int deleteByExample(roleDetailExample example);

    int deleteByPrimaryKey(String roleid);

    int insert(roleDetail record);

    int insertSelective(roleDetail record);

    List<roleDetail> selectByExample(roleDetailExample example);

    roleDetail selectByPrimaryKey(String roleid);
    
    roleDetail selectOneByExample(roleDetailExample example);
    
    int updateByExampleSelective(@Param("record") roleDetail record, @Param("example") roleDetailExample example);

    int updateByExample(@Param("record") roleDetail record, @Param("example") roleDetailExample example);

    int updateByPrimaryKeySelective(roleDetail record);

    int updateByPrimaryKey(roleDetail record);
}